package com.park.user.service.order;

import com.github.pagehelper.PageInfo;
import com.park.entity.order.MerOrderStartEndDto;
import com.park.entity.page.PageInfoParm;
import com.park.entity.user.UserLoginVo;

import java.util.Map;

/**
 * @author Administrator
 * @title: ParkOrderInfoService
 * @projectName park
 * @description: 用户订单信息
 * @date 2020/5/412:10
 */
public interface ParkOrderInfoService  {

    /**
     * 分页查询
     * @param pageInfoParm
     * @return
     */
    PageInfo myOrderList(PageInfoParm<UserLoginVo> pageInfoParm,Integer userId);

    /**
     * 用户支付订单
     * @param userId
     * @param orderStartEndDto
     */
    Map<String,String> pay(Integer userId, MerOrderStartEndDto orderStartEndDto,String ipAddr);

}
